<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="commonJS::commonJsCss('自动处理帐单')">
    <title>自动处理帐单</title>
</head>
<body ng-app="automaticProcessingBillsApp" ng-controller="automaticProcessingBillsCtrl" ng-init="init()">
<!--通用头部-->
<div th:replace="head::header" ></div>
<div th:replace="menu::menu" ></div>
<div style="height: 91%">
    <div class="form-query"></div>

    <div class="form-table" style="width: 88%;min-height: 605px;height: 93%">
        生成账单日期：
        <select id="timeSel" style="width: 150px;height: 30px;">
            <option th:each="time : ${timeList}" th:value="${time}" th:text="${time}" />
        </select>
        <button class="form-btn-edit" data-ng-click="setAutomaticProcessingBillsTime()">保存</button>
        <br><br>
        <span style="color: #bdc3c7">如果某月无设置日期，记录JOB日志说明无法生成账单，例如：“2月份无选定的自动处理帐单日期(30日)，不能生成帐单”</span>
    </div>
</div>
<!--通用尾部-->
<div th:replace="footer::footer" ></div>
</body>
<script type="text/javascript" th:src="@{/js/automaticProcessingBills/AutomaticProcessingBillsModule.js}"></script>
<script type="text/javascript" th:src="@{/js/common/cookieUtil.js}"></script>
<script type="text/javascript" th:src="@{/js/automaticProcessingBills/AutomaticProcessingBillsService.js}"></script>
<script type="text/javascript" th:src="@{/js/automaticProcessingBills/AutomaticProcessingBillsController.js}"></script>
<script th:inline="javascript">
    $("#timeSel").val([[${automaticProcessingBillsTime}]]);
</script>
</html>